//
//  KYHomeController.m
//  主矿框架
//
//  Created by xianhui.xiong on 17/1/7.
//  Copyright © 2017年 laowu. All rights reserved.
//

#import "KYHomeController.h"
#import "Masonry.h"
#import "CZAdditions.h"

@interface KYHomeController ()
//天气
@property(nonatomic,strong)UIView *weatherView;
//广告轮播
@property(nonatomic,strong)UIView *scorllView;
@end

@implementation KYHomeController

- (void)viewDidLoad {
    [super viewDidLoad];
   
    [self setupUI];
}

- (void)setupUI{
    
     self.view.backgroundColor = [UIColor whiteColor];
    
    _weatherView = [[UIWebView alloc] init];
    
    _weatherView.backgroundColor = [UIColor cyanColor];
    [self.view addSubview:_weatherView];
    
    [_weatherView mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.top.equalTo(self.view).offset(64);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(70.5);
    }];
    
}
@end
